package fun.sboy.headacheMemo.service;

import fun.sboy.headacheMemo.dto.ArticleSearch;
import fun.sboy.headacheMemo.entry.Article;

import java.util.List;

public interface ArticleService {

    List<Article> selectListArticle(ArticleSearch search);

    void insertArticle(Article article);

    List<Article> selectHotArticle();

    Article selectArticleById(String aId);

    void updateArticle(Article article);

    void deleteArticle(String aid);
}
